package cn.jcby.app.lebu.utils;

import java.util.regex.Pattern;

/**
 * @author LHT
 * @date 2021-12-14
 */
public class StringUtilsPatterm {

    public static Boolean isInteger(String originalValue) {
        if (originalValue == null) {
            return false;
        }
        String reg = "^\\d+$";
        return Pattern.compile(reg).matcher(originalValue).find();
    }

    public static void main(String[] args) {
        System.out.println(isInteger("1asdf23"));
    }
}
